package org.lxy.service.impl;


import org.lxy.dao.PointsLogDao;
import org.lxy.domain.PointsLogEntity;
import org.lxy.service.PointsLogService;
import org.lxy.utils.PageUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.lxy.utils.Query;


@Service
public class PointsLogServiceImpl extends ServiceImpl<PointsLogDao, PointsLogEntity> implements PointsLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PointsLogEntity> page = this.page(
                new Query<PointsLogEntity>().getPage(params),
                new QueryWrapper<PointsLogEntity>()
        );

        return new PageUtils(page);
    }

}